class ChatModel {
  final String id;
  final String name;
  final String lastMessage;
  final String time;
  final String? avatar;
  final bool hasUnread;
  final int? unreadCount;

  ChatModel({
    required this.id,
    required this.name,
    required this.lastMessage,
    required this.time,
    this.avatar,
    this.hasUnread = false,
    this.unreadCount,
  });
}
